package org.example.myleet.p901;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        StockSpanner stockSpanner = new StockSpanner();
        Assert.isTrue(1 == stockSpanner.next(100));
        Assert.isTrue(1 == stockSpanner.next(80));
        Assert.isTrue(1 == stockSpanner.next(60));
        Assert.isTrue(2 == stockSpanner.next(70));
        Assert.isTrue(1 == stockSpanner.next(60));
        Assert.isTrue(4 == stockSpanner.next(75));
        Assert.isTrue(6 == stockSpanner.next(85));
    }
}
